{% extends '../layout.html' %}
<!-- header-start -->
{% block head %}
    {% parent %}
    <meta name="keywords" content="aaaa" />
    <meta name="description" content="bbbbb" />
    <link rel="stylesheet" type="text/css" href="{{ config.resourcePath.staticRoot }}/css/page/order-list.css" />
{% endblock %}
<!-- header-end -->
<!-- body-start -->
{% block content %}
    <div class="pop-pages">
        <div class="headers text-a-c">
            <i class="iconfont icon-prev f-s-20 float-left w-50 text-a-c" onclick="window.history.back()"></i>
            <span class="title">
                订单详情
            </span>
        </div>
        <div class="clearfix-row">
            <ul class="list">
                {% for key,mtem in message %}
                    <li>
                        <div class="list-chide clearfix-row">
                            <div class="chartlet">
                                <div class="lab-left">
                                    订单号：
                                </div>
                                <div class="lab-right">
                                    {{ mtem.code }}
                                </div>
                            </div>
                            <div class="chartlet">
                                <div class="lab-left">
                                    订单金额：
                                </div>
                                <div class="lab-right">
                                    {{ mtem.price }}
                                </div>
                            </div>
                            <div class="chartlet">
                                <div class="lab-left">
                                    购买数量：
                                </div>
                                <div class="lab-right">
                                    {{ mtem.counts }}
                                </div>
                            </div>
                            <div class="chartlet">
                                <div class="lab-left">
                                    收货地址：
                                </div>
                                <div class="lab-right">
                                    {{ mtem.address_id }}
                                </div>
                            </div>

                            <div class="chartlet">
                                <div class="lab-left">
                                    备注：
                                </div>
                                <div class="lab-right">
                                    {{ mtem.remark }}
                                </div>
                            </div>
                            <div class="chartlet">
                                <div class="lab-left">
                                    订单状态：
                                </div>
                                <div class="lab-right">
                                    {% if mtem.pay_time %}
                                        {{ mtem.pay_time }}
                                    {% else %}
                                        未付款
                                    {% endif %}
                                </div>
                            </div>
                            <div class="chartlet">
                                <div class="lab-left">
                                    快递公司：
                                </div>
                                <div class="lab-right">
                                    {{ mtem.ex_out_com }}
                                </div>
                            </div>
                            <div class="chartlet">
                                <div class="lab-left">
                                    快递单号：
                                </div>
                                <div class="lab-right">
                                    {{ mtem.ex_out_num }}
                                </div>
                            </div>
                            <div class="chartlet">
                                <div class="lab-left">
                                    发出时间：
                                </div>
                                <div class="lab-right">
                                    {{ mtem.ex_out_time }}
                                </div>
                            </div>
                            <div class="chartlet">
                                <div class="lab-left">
                                    包裹状态：
                                </div>
                                <div class="lab-right">
                                    {% if mtem.ex_out_receive_time %}
                                        {{ mtem.ex_out_receive_time }}
                                    {% else %}
                                        未签收
                                    {% endif %}
                                </div>
                            </div>
                            <div class="chartlet">
                                <div class="lab-left">
                                    图片：
                                </div>
                                <div class="lab-right">
                                    <img class="h-50" src="/ravimg?src={{ mtem.url }}">
                                </div>
                            </div>
                        </div>
                        <a class="clearfix-row text-a-c line-h-35 bck-color-ededed" onclick="order.more(this);">查看详细</a>
                    </li>
                {% endfor %}
            </ul>
        </div>
    </div>
{% endblock %}
<!-- body-end -->
<!-- script-start -->
{% block script %}
    <script type="text/javascript" src="{{ config.resourcePath.staticRoot }}/js/page/order.js"></script>
{% endblock %}
<!-- script-end -->
